firmware_class: Refer to Debian wiki page when logging missing firmware
authorBen Hutchings <ben@decadent.org.uk>
Mon, 12 Mar 2018 01:14:03 +0000 (01:14 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Wed, 24 Apr 2024 07:42:56 +0000 (09:42 +0200)
commitda90845a8a113f9c9009abfe759abc3b7e8f0e22
treec817a2d1b987f337f44068dbb5497fa5bd0c6945
parentf1dd76575ab10cf5a010daa497a8e119072bd8f9
firmware_class: Refer to Debian wiki page when logging missing firmware

Bug-Debian: https://bugs.debian.org/888405
Bug-Debian: https://bugs.debian.org/1053764
Forwarded: not-needed
Last-Update: 2023-11-08

If firmware loading fails due to a missing file, log a second error
message referring to our wiki page about firmware.  This will explain
why some firmware is in non-free, or can't be packaged at all.  Only
do this once per boot.

Do something similar in the radeon drivers, where we have an early
check to avoid failing at a point where we cannot display anything.

Update 2023-11-08:
In bug 1053764 Mario Limonciello <mario.limonciello@amd.com> states
that the patch isn't needed anymore for amdgpu, so remove that part
of the patch

Gbp-Pq: Topic debian
Gbp-Pq: Name firmware_class-refer-to-debian-wiki-firmware-page.patch
drivers/base/firmware_loader/main.c
drivers/gpu/drm/radeon/radeon_drv.c